package com.rran.study.designpattern.behavioral.observer.model;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author yy
 * @Type OrderData.java
 * @Desc
 * @date 2020/7/21 17:33
 */
@Data
public class OrderData {
    /**
     * 消费金额
     */
    private BigDecimal money;
    /**
     * 购买商品个数
     */
    private int buyCount;

    public OrderData(){

    }

    public OrderData(BigDecimal money, int buyCount) {
        this.money = money;
        this.buyCount = buyCount;
    }
}
